package com.dcy.znoa.service.estate;

import com.baomidou.mybatisplus.service.IService;
import com.dcy.znoa.common.exception.BusinessException;
import com.dcy.znoa.common.util.pojo.JsonForList;
import com.dcy.znoa.controller.estate.model.advice.SelectEstateAdviceModel;
import com.dcy.znoa.domain.estate.EstateAdvice;

import java.lang.reflect.InvocationTargetException;

/**
 * <p>
 * 物业建议 服务类
 * </p>
 *
 * @author cook
 * @since 2018-05-21
 */

public interface EstateAdviceService extends IService<EstateAdvice> {

    JsonForList selectList(SelectEstateAdviceModel model) throws InvocationTargetException, IllegalAccessException;

    boolean add(EstateAdvice cp) throws BusinessException;
}
